import request from '../utils/request';

export function login(payload) {
  return request('/wyApi/public/login', { method: 'POST', body: payload });
}

export function verification(payload) {
  return request('/wyApi/public/verification', { method: 'POST', body: payload });
}

export function logout() {
  return request('/wyApi/public/logout');
}

export function register(payload) {
  return request('/wyApi/public/register', { method: 'POST', body: payload });
}